{% extends 'AcmeFileManagerBundle:FileManager:index.html.twig' %}

{% block content %}

	<div id="content">

		<h2>Загрузить файл</h2>

		<form action="{{ path('AcmeFileManagerBundle_uploadFile', { 'path': '/' ~ path.getPath() }) }}" method="post" {{ form_enctype(form) }}>
			{{ form_errors(form) }}

			{{ form_label(form.content, 'Выберите файл') }}
			{{ form_errors(form.content) }}
			{{ form_widget(form.content) }}

			{{ form_rest(form) }}

			<input type="submit" value="Добавить" />
		</form>
		
	</div>
	
{% endblock %}